<?php 
/**
 * Digitalus Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to info@digitalusmedia.net so we can send you a copy immediately.
 *
 * @category   Digitalus Framework
 * @package    Dig_Ui
 * @copyright  Copyright (c) 2009,  Digitalus Media USA (digitalusmedia.net)
 * @license    New BSD License
 * @author:    Forrest Lyman
 * 
 */
?>

<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <?php        
        // render the Digitalus Header
        // this adds all of the stylesheets to a page
        echo $this->digUiHeader();
        // i prefer to do this here as you may not want this function depending on layout
        $this->jQuery()->addJavascript('$.dig.admin.init()');
    ?>
    </head>
    <body id="admin">
		<div id='header' class='ui-widget-header'>
			<div id='admin_navigation'>
				<div id='admin_links'><?= $this->digUiBlock('/digNavigation/system/admin-links')?></div>
				<div id='admin_menu'><?= $this->digUiBlock('/digNavigation/system/admin-tabs')?></div>
				
			</div>
			<div id='logo'>
				<a href='/'><img src='/images/logo.png' /></a>
			</div>
			<div class='clear'></div>
		</div>
		<div id='page_wrapper'> 		
			<div id='page_wrapper_inner' class='ui-widget-content'> 		
        		<div id='page' class='ui-helper-clearfix'>
        			    <?php
        			        echo $this->digUiMessage()->render();
        			        echo $this->layout()->content;
    			        ?>
        		</div> 
    		</div>
		</div>   		
		<div id='footer' class='grid_16 alpha omega'>
			<p>Copyright &copy; 2008-2010 <a href='http://digitaluscms.com'>Digitalus CMS</a></p>
		</div>
		<?php 
		    // render the digitalus footer. 
		    // this includes all of the javascript to a page
		    echo $this->digUiFooter();
	    ?>
    </body>
<html>     
